#pragma once

#include "public/build.h"

namespace renderit
{
	namespace core
	{
#pragma pack(push, 1)

		struct color4b
		{
			union {
				struct {
					uint8 r, g, b, a;
				};
				uint32 c;
			};

			color4b() : c(0) { }
			color4b(uint8 rr, uint8 gg, uint8 bb, uint8 aa) : r(rr), g(gg), b(bb), a(aa) { }
		};

		struct color4f
		{
			float r, g, b, a;

			color4f(float rr, float gg, float bb, float aa) : r(rr), g(gg), b(bb), a(aa) { }
		};

#pragma pack(pop)
	}
}